/**
 * @author zhoutao
 *  2010-11-20
 */
package com.jlt.entity.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.jlt.entity.BaseEntity;

/**
 * 系统参数
 * 
 * @author zhoutao
 * 
 */
@Entity
// 表名与类名不相同时重新定义表名.
@Table(name = "sys_param")
// 默认的缓存策略.
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SysParam extends BaseEntity {
	@Column(nullable = false)
	private String code;// 参数代码
	private String type ; //参数类型
	private String paramValue;// 参数值
	private String description;// 备注

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParamValue() {
		return paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
